﻿<%@ Page Language="C#" AutoEventWireup="true" Title="Import &raquo; ResourceBlender" CodeFile="Import.aspx.cs" Inherits="Import" MasterPageFile="~/MasterPage.master" %>

<asp:Content ID="contentHead" ContentPlaceHolderID="head" runat="server">
    
</asp:Content>

<asp:Content ID="contentMain" ContentPlaceHolderID="cntMain" runat="server">
    <form id="frmImport" runat="server" enctype="multipart/form-data" method="post">
    <div>
        <h1>Import from Excel</h1>
        <asp:Label ID="lblFilename" runat="server" Text="File name"></asp:Label>
        <asp:FileUpload ID="uplXlsFile" runat="server" />
        <div class="result" ID="resultDiv" runat="server" Visible="False">
        </div>
        <asp:Button ID="btnUpload" runat="server" onclick="btnUpload_Click" 
            Text="Upload" />
        <div class="errorDiv" ID="errorDiv" runat="server" Visible="False" 
            style="text-align: left">
            <h2>Errors</h2>
            <p>Completed with errors:</p>
        </div>
    </div>
    </form>
</asp:Content>